#include "Stdafx.h"
#include "EditorFrameListener.h"

EditorFrameListener::EditorFrameListener()
{
	mRendering = true;
}

EditorFrameListener::~EditorFrameListener()
{

}

bool EditorFrameListener::frameStarted(const FrameEvent& evt)
{
	System::Windows::Forms::Application::DoEvents();
	return mRendering;
}

bool EditorFrameListener::frameRenderingQueued(const FrameEvent& evt)
{
	return true;
}

bool EditorFrameListener::frameEnded(const FrameEvent& evt)
{
	return true;
}

void EditorFrameListener::stopRendering()
{
	mRendering = false;
}
